package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgReturnLog;
import com.ygqh.baby.po.YgReturnLogExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface YgReturnLogMapper {
    int countByExample(YgReturnLogExample example);

    int deleteByExample(YgReturnLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgReturnLog record);

    int insertSelective(YgReturnLog record);

    List<YgReturnLog> selectByExampleWithBLOBs(YgReturnLogExample example);

    List<YgReturnLog> selectByExample(YgReturnLogExample example);

    YgReturnLog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgReturnLog record, @Param("example") YgReturnLogExample example);

    int updateByExampleWithBLOBs(@Param("record") YgReturnLog record, @Param("example") YgReturnLogExample example);

    int updateByExample(@Param("record") YgReturnLog record, @Param("example") YgReturnLogExample example);

    int updateByPrimaryKeySelective(YgReturnLog record);

    int updateByPrimaryKeyWithBLOBs(YgReturnLog record);

    int updateByPrimaryKey(YgReturnLog record);

	List<YgReturnLog> selectSuper(QueryInfo queryInfo, String q);

	int countSuper(String q);
}